package org.example.config;

import feign.RequestInterceptor;
import feign.RequestTemplate;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Configuration;

/**
 * feign request 拦截器
 * */
@Slf4j
@Configuration
public class ConsumeFeignIntercepter implements RequestInterceptor {
    @Override
    public void apply(RequestTemplate template) {
        log.info("自定义的拦截器！！！！");
    }
}
